#!/bin/bash


for i in $(seq 1 10)  
do   
echo $(expr $i \* 3 + 1);  
done


:<<restures


4
7
10
13
16
19
22
25
28
31

restures

echo "\r\n"


for i in `seq 1 2 20`  
do   
echo $i;
done